import request from '@/utils/request'

// 查询督促信息列表
export function listProuserdc(query) {
  return request({
    url: '/project/prouserdc/list',
    method: 'get',
    params: query
  })
}

// 查询督促信息详细
export function getProuserdc(id) {
  return request({
    url: '/project/prouserdc/' + id,
    method: 'get'
  })
}

// 新增督促信息
export function addProuserdc(data) {
  return request({
    url: '/project/prouserdc',
    method: 'post',
    data: data
  })
}

// 修改督促信息
export function updateProuserdc(data) {
  return request({
    url: '/project/prouserdc',
    method: 'put',
    data: data
  })
}

// 删除督促信息
export function delProuserdc(id) {
  return request({
    url: '/project/prouserdc/' + id,
    method: 'delete'
  })
}
